package com.qi.services;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qi.pojo.dto.AddActProBody;
import com.qi.pojo.entity.ActivityProcess;
import org.springframework.transaction.annotation.Transactional;

public interface IActivityProcessService extends IService<ActivityProcess> {

    void addActivity(AddActProBody addActProBody);

    IPage<ActivityProcess> getPendingList(Long current, Long size);

    @Transactional
    void approvalHold(Long actProId);
    void rejectHold(Long actProId);
}
